<table>
    <thead>
            <tr>

                    <g:sortableColumn property="valor" title="${message(code: 'prova.valor.label', default: 'Valor')}" />

                    <g:sortableColumn property="data" title="${message(code: 'prova.data.label', default: 'Data')}" />

                    <th><g:message code="prova.rendimento.label" default="Rendimento" /></th>

            </tr>
    </thead>
    <tbody>
    <g:each in="${provaInstanceList}" status="i" var="provaInstance">
            <tr class="${(i % 2) == 0 ? 'even' : 'odd'}">

                    <td><g:link action="show" id="${provaInstance.id}">${fieldValue(bean: provaInstance, field: "valor")}</g:link></td>

                    <td><g:formatDate date="${provaInstance.data}" /></td>

                    <td>${fieldValue(bean: provaInstance, field: "rendimento")}</td>

            </tr>
    </g:each>
    </tbody>
    </table>